package org.fuys.etp.core.model.event;

import org.fuys.etp.core.EtpPersistentConfig;
import org.springframework.context.ApplicationEvent;

/**
 * @projectName: fuys-etp-final
 * @package: org.fuys.etp.core.model.event
 * @className: EtpPersistentConfigChangeEvent
 * @author: WangJing
 * @description: 弹性线程池持久化配置更改事件
 * @date: 2025/3/4 11:43
 * @version: 1.0
 */
public class EtpPersistentConfigChangeEvent extends ApplicationEvent {

    EtpPersistentConfig config;

    public EtpPersistentConfigChangeEvent(Object source,EtpPersistentConfig config) {
        super(source);
        this.config = config;
    }

    public EtpPersistentConfig getConfig() {
        return config;
    }

    public void setConfig(EtpPersistentConfig config) {
        this.config = config;
    }
}
